﻿@model Gateway.Console.Models.SecurityModel

@{
    ViewBag.Title = "Edit Gateway Security";
}

<h2>Edit Gateway Security</h2>


@using (Html.BeginForm())
{
    @Html.AntiForgeryToken()
    
    @Html.ValidationSummary(true)
    @Html.HiddenFor(model => model.Id)

    <div class="form-group">
        @Html.LabelFor(model => model.Directory)
        @Html.TextBoxFor(model => model.Directory, new { @class = "form-control wide" })
        @Html.ValidationMessageFor(model => model.Directory)
    </div>

    <div class="form-group">
        @Html.LabelFor(model => model.ApplicationName)
        @Html.TextBoxFor(model => model.ApplicationName, new { @class = "form-control wide" })
        @Html.ValidationMessageFor(model => model.ApplicationName)
    </div>

    <div class="form-group">
        <input type="submit" value="Save" class="btn btn-default" />
    </div>
}

<hr />

<div>
    @Html.ActionLink("Back to List", "Index")
</div>

@section Scripts {
}


